package com.lzs.baseruku.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzs.entity.Purchase;
import com.lzs.util.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ymx
 * @since 2020-11-24
 */
public interface PurchaseService extends IService<Purchase> {

    Page<Purchase> selectPurchase(Integer page, Integer limit, Purchase purchase);

    R updateState(List<Long> ids, String s);

    R updateStateByPurchaseno(String purchaseno);
}
